home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / install < prev    next >
Text File  |  1990-01-19  |  3KB  |  93 lines

  1. FAILAT 25
  2. echo ""
  3. echo "Aztec C for the Amiga - Installation Script"
  4. echo "Version 5.0a"
  5. echo ""
  6. ask "Do you wish to read the 'read.me' file?"
  7. IF WARN
  8.     df0:c/more df0:read.me
  9. ENDIF
  10. echo ""
  11. ask "Install to hard disk?"
  12. IF WARN
  13.     echo "Press <enter> to begin hard disk installation"
  14.     echo "program..."
  15.     ask ""
  16.     df0:hdinstall
  17. ELSE
  18.     skip FLOPPY
  19. ENDIF
  20. IF WARN
  21.     echo "Hard disk installation aborted!"
  22.     QUIT
  23. ELSE
  24.     echo "Installation complete!"
  25.     echo ""
  26.     echo "    To use the Aztec C system, change directories"
  27.     echo "    to your main Aztec directory, and type:"
  28.     echo ""
  29.     echo "        execute Aztec.sh"
  30.     echo ""
  31.     echo "    The Aztec.sh script file will then set up your"
  32.     echo "    system for use with Aztec C.  You may wish to"
  33.     echo "    copy the contents of this file to the end of"
  34.     echo "    your Startup-Sequence, which will set up your"
  35.     echo "    system automatically upon startup."
  36.     echo ""
  37.     echo "    Thanks for choosing Aztec C!!!"
  38.     QUIT
  39. ENDIF
  40. QUIT
  41.  
  42. LAB FLOPPY
  43. echo "NOTE: Two blank floppy disks are required for this"
  44. echo "installation (these disks need not be formatted)."
  45. echo ""
  46. ask "Is your second floppy drive called df1:?"
  47. IF WARN
  48.     echo "Insert a blank disk in drive df1:"
  49.     echo "then press <enter> to continue"
  50.     echo "WARNING - the contents of this disk WILL BE DESTROYED!"
  51.     df0:system/diskcopy >NIL: FROM df0: to df1:
  52.     copy df1:s/floppy_start df1:s/startup-sequence
  53.     echo ""
  54.     echo "Please insert the second blank disk in drive df1:"
  55.     echo "then press <enter> to continue"
  56.     echo "WARNING - the contents of this disk WILL BE DESTROYED!"
  57.     df0:system/format >NIL: DRIVE df1: NAME az2
  58.     MakeDir df1:bin
  59.     MakeDir df1:lib
  60. ELSE
  61.     echo "Insert a blank disk in drive df2:"
  62.     echo "then press <enter> to continue"
  63.     echo "WARNING - the contents of this disk WILL BE DESTROYED!"
  64.     df0:system/diskcopy >NIL: FROM df0: to df2:
  65.     copy df2:s/floppy_start df2:s/startup-sequence
  66.     echo "Please insert the second blank disk in drive df2:"
  67.     echo "then press <enter> to continue"
  68.     echo "WARNING - the contents of this disk WILL BE DESTROYED!"
  69.     df0:system/format >NIL: DRIVE df2: NAME az2
  70.     MakeDir df2:bin
  71.     MakeDir df2:lib
  72. ENDIF
  73. echo ""
  74. df0:floppyinst
  75. if ERROR
  76.     echo "Floppy drive installation aborted!"
  77. else
  78.     echo "Installation complete!"
  79.     echo ""
  80.     echo "    You should now re-boot your machine with the new"
  81.     echo "    disk 1 in your first floppy drive, and the new disk 2"
  82.     echo "    in your second drive.  When the system has completed"
  83.     echo "    booting, type:"
  84.     echo ""
  85.     echo "        cd az2:"
  86.     echo ""
  87.     echo "    and you'll be ready to go!"
  88.     echo ""
  89.     echo "Thanks for choosing Aztec C!!!"
  90.  
  91. LAB DONE
  92.  
  93.